package org.xbs.demo1.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.xbs.demo1.pojo.LoginBackParam;
import org.xbs.demo1.pojo.LoginParam;

@Mapper
public interface LoginMapper {
    @Select("select id,username,password,users_id,isAdministrator from webusers where username =#{username} && password =#{password}")
    LoginBackParam login(LoginParam loginParam);
}
